home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 001-025 / scopedisk16 / ispell / ispell.nro < prev    next >
Text File  |  1995-03-18  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. ISPELL(1)                 USER COMMANDS                 ISPELL(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      ispell - Correct spelling for a file
  10.  
  11. SYNOPSIS
  12.      ispell [ file | -a | -l ]
  13.  
  14. DESCRIPTION
  15.      _I_s_p_e_l_l is fashioned after the _s_p_e_l_l program from ITS (called
  16.      _i_s_p_e_l_l on Twenex systems.)  The most common usage is "ispell
  17.      filename".  In this case,  _i_s_p_e_l_l  will  display  each  word
  18.      which  does  not  appear in the dictionary, and allow you to
  19.      change it.  If there are "near  misses"  in  the  dictionary
  20.      (words  which  differ  by only a single letter, a missing or
  21.      extra letter, or a pair of transposed  letters),  then  they
  22.      are  also displayed.  If you think the word is correct as it
  23.      stands, you can type either "Space" to accept  it  this  one
  24.      time,  or  "I"  to accept it and put it in your private dic-
  25.      tionary.  If one of the near misses is the  word  you  want,
  26.      type  the  corresponding  number.  Finally, if none of these
  27.      choices is right, you can type "R" and you will be  prompted
  28.      for a replacement word.
  29.  
  30.      When a misspelled word is found, it is printed at the top of
  31.      the  screen.  Any near misses will be printed on the follow-
  32.      ing lines, and finally, two lines containing  the  word  are
  33.      printed  at  the bottom of the screen.  If your terminal can
  34.      type in reverse video, the word itself is highlighted.
  35.  
  36.      The -l or "list" option to _i_s_p_e_l_l is used to produce a  list
  37.      of misspelled words from the standard input.
  38.  
  39.      The -a is intended to be used from other programs through  a
  40.      pipe.   In  this  mode, _i_s_p_e_l_l expects the standard input to
  41.      consist of single words.  Each word is read,  and  a  single
  42.      line  is  written  to  the standard output.  If the word was
  43.      found in the main dictionary, or your  personal  dictionary,
  44.      then  the  line  contains only a '*'.  If the word was found
  45.      through suffix removal, then the  line  contains  a  '+',  a
  46.      space,  and  the  root word.  If the word is not in the dic-
  47.      tionary, but there are near misses, then the  line  contains
  48.      an  '&', a space, and a list of the near misses separated by
  49.      spaces.  Also, each near miss is capitalized the same as the
  50.      input  words.   Finally,  if the word neither appears in the
  51.      dictionary, and there are no near misses, then the line con-
  52.      tains  only  a '#'.  This mode is also suitable for interac-
  53.      tive use when you want to figure out the spelling of a  sin-
  54.      gle  word.  (These characters are the same as the codes that
  55.      the real spell program uses.)
  56.  
  57. FILES
  58.      /usr/local/lib/ispell.hash
  59.      $HOME/ispell.words
  60.  
  61.  
  62.  
  63. Sun Release 3.2         Last change: MIT                        1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ISPELL(1)                 USER COMMANDS                 ISPELL(1)
  71.  
  72.  
  73.  
  74. BUGS
  75.      It takes about five seconds for _i_s_p_e_l_l to read in  the  hash
  76.      table.
  77.  
  78.      Perhaps more than ten choices should  be  allowed  for  near
  79.      misses.
  80.  
  81.      The hash table is stored as a quarter-megabyte array,  so  a
  82.      PDP-11 version does not seem likely.
  83.  
  84.      _I_s_p_e_l_l should understand more _t_r_o_f_f syntax,  and  deal  more
  85.      intelligently with contractions.
  86.  
  87. AUTHOR
  88.      Pace Willisson (pace@mit-vax)
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Sun Release 3.2         Last change: MIT                        2
  130.  
  131.  
  132.  
  133.